<?php
session_start();
include_once("annotation.php");

$content = $_GET['newContent'];
$idPage = $_GET['id'];

	$annot = new annotation();
	$res = $annot->editAnnotation($idPage, $_SESSION['idUser'], $content);
	echo $content;
?>